Whew, I did something stupid,
I mistakenly placed the "wait 2" between the condition and the curly braces.
like this :
if( self cansee level.vr1[local.i] && ( level.vr1[local.i].gun == "springfield '03 sniper" || level.vr1[local.i].gun == "mauser kar 98d sniper" ) )
wait 2
{ $gp playsound gps4 } // sniper !
instead of placing the "wait 2" inside de curly braces.
Of course it didn't work anymore, all i heard was sniper sniper sniper !!!
So I spent a lot of time figuring out what was wrong,
until my eyes fell on the "wait 2"
hi Sor, hi Leyok
It works alright if i omit the round brackets, but I used them like you said,
does it make much difference in this case ?
I removed Notepad++ from my PC more than half a year ago,
because 1) I almost never used it.
2) after docking a dialog box, i could not undock it anymore,
and even after reinstalling Notepad++ the problem was still there.
3) I mostly use VBSEdit / HTAEdit or EditPad Pro.
I've installed Mohaa tools already a few years ago,
unfortunately i've never got around to start using it.
Creating a map would be awesome,
but working with mohradiant doesn't seem that easy.
If i had more time, and there was a really good tutorial about creating a map,
and i mean a really good tutorial which shows you step by step how to start creating a first small simple map to get the hang of it,
then i'd give it a try.